$OpenBSD: patch-Makefile_libretro,v 1.1.1.1 2016/10/19 07:47:21 bentley Exp $
--- Makefile.libretro.orig	Tue Aug 30 11:48:52 2016
+++ Makefile.libretro	Tue Aug 30 11:48:49 2016
@@ -176,7 +176,6 @@ ifeq ($(platform),win)
 	MAIN_LDLIBS += -lws2_32
 else ifneq ($(platform),qnx)
 	LDLIBS += -lpthread
-	MAIN_LDLIBS += -ldl
 endif
 MAIN_LDFLAGS += -shared
 MAIN_LDLIBS += -lm -lz
